<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>商品上架</title>

<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/datepicker3.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link href="css/ddj.css" rel="stylesheet"><!-- 深度定制样式： -->

</head>

<body>
<!-- 头部 -->
	<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#sidebar-collapse">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">
					<span>旧货追踪管理系统</span>
					Admin
				</a>
				<ul class="user-menu">
					<li class="dropdown pull-right">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span> User <span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu">
							<li><a href="#"><span class="glyphicon glyphicon-user"></span> Profile</a></li>
							<li><a href="#"><span class="glyphicon glyphicon-cog"></span> Settings</a></li>
							<li><a href="#"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
						</ul>
					</li>
				</ul>
			</div>
		</div><!-- /.container-fluid -->
	</nav>
<!-- 侧边菜单 -->		
	<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar">
		<form role="search">
			<div class="form-group">
				<input type="text" class="form-control" placeholder="Search">
			</div>
		</form>
		<ul class="nav menu">
			<li>
				<a href="index.html">
					<span class="glyphicon glyphicon-dashboard"></span>
					 首页
				</a>
			</li>
			<li class="active"><a href="productAdd.html"><span class="glyphicon glyphicon-th"></span> 商品上架</a></li>
			<li><a href="readAndWrite.html"><span class="glyphicon glyphicon-stats"></span> 读取</a></li>
			<li><a href="productAdmin.html"><span class="glyphicon glyphicon-list-alt"></span> 商品信息</a></li>
			<li><a href="userall.html"><span class="glyphicon glyphicon-stats"></span> 用户信息</a></li>
			<li><a href="trade.html"><span class="glyphicon glyphicon-user"></span>订单信息</a></li>
			
		</ul>
		<div class="attribution">Make by ddj <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">来源</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网址之家</a></div>
	</div><!--/.sidebar-->
<!-- 右边主区 -->		
	<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main">			
		<div class="row">
			<ol class="breadcrumb">
				<li><a href="#"><span class="glyphicon glyphicon-home"></span></a></li>
				<li class="active">首页</li>
			</ol>
		</div><!--/.row-->
		
		<div class="row">
			<div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-4 col-md-offset-4 temp1">
				<div class="login-panel panel panel-default">
					<div class="panel-heading">请管理员录入商品信息！</div>
					<div class="panel-body">
						<form role="form" name="product" action="productAddOk.html" method="post" enctype="multipart/form-data">
							<fieldset>
								<div class="form-group">
									<span>商品名称：</span>
									<input class="form-control" placeholder="名称" name="pname" value="">
								</div>
								<div class="form-group">
									<span>商品价格：</span>
									<input class="form-control" placeholder="价格" name="price" value="">
								</div>
								<div class="form-group">
									<span>新旧程度：</span>
									<input class="form-control" placeholder="程度" name="degree" value="">
								</div>
								<div class="form-group">
									<span>原始物主：</span>
									<input class="form-control" placeholder="物主" name="userName" value="">
								</div>
														
								<div class="form-group">
									<span>图片上传：</span>
									<input type="file" name="file" /> 
								</div>
								<div class="form-btn">
									<button type="reset" class="btn btn-primary">重置</button>
									<button type="submit" class="btn btn-primary">确认</button>						
								</div>
							</fieldset>
						</form>
					</div>
				</div>
			</div><!-- /.col-->
		</div>
<!-- 备注区 -->		
	</div>	<!--/.main-->
	
<!-- 脚本加载 -->
	<script src="js/jquery-1.11.1.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/chart.min.js"></script>
	<script src="js/chart-data.js"></script>
	<script src="js/easypiechart.js"></script>
	<script src="js/easypiechart-data.js"></script>
	<script src="js/bootstrap-datepicker.js"></script>
	<script>
		$('#calendar').datepicker({
		});

		!function ($) {
		    $(document).on("click","ul.nav li.parent > a > span.icon", function(){          
		        $(this).find('em:first').toggleClass("glyphicon-minus");      
		    }); 
		    $(".sidebar span.icon").find('em:first').addClass("glyphicon-plus");
		}(window.jQuery);

		$(window).on('resize', function () {
		  if ($(window).width() > 768) $('#sidebar-collapse').collapse('show')
		})
		$(window).on('resize', function () {
		  if ($(window).width() <= 767) $('#sidebar-collapse').collapse('hide')
		})
	</script>	
</body>

</html>
